<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'MsgRecord.jsp' starting page</title>
    <meta http-equiv="refresh" content="2"/>
    <style type="text/css">
    </style>
  </head>
  <body>
	 <c:forEach items="${msgList }" var="msg">
		<div class="msgs">
			<h4 style="color:blue">${msg.nowTime } &nbsp; ${msg.username }: </h4>
			<p>${msg.message }</p>
		</div>
	</c:forEach> 	
  </body>
</html>
